From 6299bcf17c3706cfacd91ead17e3ba685a48193d Mon Sep 17 00:00:00 2001 From: oliskoli Date: Sat, 18 Mar 2006 19:56:19 +0000 Subject: [PATCH] Fix segmentation fault (temp_buffer size adjusted). --- tpo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tpo.c b/tpo.c index 80c8e46e1..d67d95bdf 100644 --- a/tpo.c +++ b/tpo.c @@ -724,7 +724,7 @@ tpo_track_disp(const waypoint *waypointp) static void tpo_track_tlr(const route_head *rte) { - unsigned char temp_buffer[2]; + unsigned char temp_buffer[4]; unsigned char unknown1[] = { 0x06, 0x00 }; -- 2.30.2